﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using DotNetNinjaLibrary.Pathfinding;

namespace DotNetNinjaLibrary
{
	public class GameController
	{
		public MapModel Map { get; set; }
		public IList<Unit> Units { get; set; }

		public GameController()
		{
			this.Map = new MapModel(50, 50);
		}

		public void Initialize(long startTime)
		{
		}

		public void Update(long gameTime)
		{
			foreach (var unit in this.Units)
			{
				unit.Update(gameTime);
			}
		}
	}
}
